package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private String studentUserName;
	private Myclass myclass;
	private String name;
	private String password;
	private String photo;
	private Set finishstatuses = new HashSet(0);
	private Set mistakerecords = new HashSet(0);
	private Set relationships = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(String studentUserName, Myclass myclass, String name,
			String password) {
		this.studentUserName = studentUserName;
		this.myclass = myclass;
		this.name = name;
		this.password = password;
	}

	/** full constructor */
	public Student(String studentUserName, Myclass myclass, String name,
			String password, String photo, Set finishstatuses,
			Set mistakerecords, Set relationships) {
		this.studentUserName = studentUserName;
		this.myclass = myclass;
		this.name = name;
		this.password = password;
		this.photo = photo;
		this.finishstatuses = finishstatuses;
		this.mistakerecords = mistakerecords;
		this.relationships = relationships;
	}

	// Property accessors

	public String getStudentUserName() {
		return this.studentUserName;
	}

	public void setStudentUserName(String studentUserName) {
		this.studentUserName = studentUserName;
	}

	public Myclass getMyclass() {
		return this.myclass;
	}

	public void setMyclass(Myclass myclass) {
		this.myclass = myclass;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Set getFinishstatuses() {
		return this.finishstatuses;
	}

	public void setFinishstatuses(Set finishstatuses) {
		this.finishstatuses = finishstatuses;
	}

	public Set getMistakerecords() {
		return this.mistakerecords;
	}

	public void setMistakerecords(Set mistakerecords) {
		this.mistakerecords = mistakerecords;
	}

	public Set getRelationships() {
		return this.relationships;
	}

	public void setRelationships(Set relationships) {
		this.relationships = relationships;
	}

}